* {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  border: 0px;
  margin: 0px;
}

div{
  font-family: 'Montserrat', sans-serif;
}
html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  min-height: calc(100% - (height of footer)); /* Ajusta el valor en función del tamaño de tu footer */
  display: flex;
  flex-direction: column;
}

.container a{
  border: 0px!important;
  text-decoration: none;
}
.nav-int a {
  text-decoration: none;
  border: 0px!important;
  color: rgb(0, 100, 147);
  font-size: 14px;
  font-weight: 600;
}
.nav-int{
  border-bottom: 1px dotted rgb(0, 170, 247);
  padding-bottom: 10px;
}
b{
  color: rgb(0, 170, 247);
}
.nav-int a:hover{
  color: rgb(33, 33, 33);
}
#botones-eventos{
  margin-left: 1%;
  margin-right: 1%;
  display: flex;
}

#botones-eventos a{
  height: 60%;
  margin-left: auto;
}

.mensaje{
  background-color: rgb(0, 100, 147);
  color: #fff;
  padding:5px 10px;
}

#lista-eventos{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lista-eventos div{
  display: flex;
  float: left;
  align-items: center;
}

#boton-asistencia{
  margin-left: 10px;
}
.asistencia{
  border: 1px dotted dodgerblue;
  padding: 50px;
}
ul{
  list-style: none;
}
footer{
  font-family: 'Montserrat', sans-serif;
  grid-row: 2;
  width: 100%;
}
footer .container{
  box-shadow: 1px -30px 18px -43px rgba(0,0,0,0.59);
}
html, body {
  height: 100%;
  margin: 0;
}

.grid-container {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
}
.grid-container-2 {
  display: grid;
  grid-template-columns: auto auto auto  auto;
  gap: 20px;
}
.content-wrapper {
  grid-row: 1;
}

footer  i{
  color: rgb(71, 71, 71);
  margin: 0px 5px;
}
footer a i:hover{
  color: rgb(0, 170, 247);
}
.fs-7{
  font-size: 12px;
}
.fs-8{
  font-size: 13px;
}
.btn-general{
  background-color: rgb(0, 170, 247);
  color: #fff;
  padding:5px 10px;
  border: 0px;
}
.btn-general-b{
  background-color: rgb(77, 77, 77);
  color: #fff;
  padding:5px 10px;
  border: 0px;
}
.btn-general-b:hover{
  background-color: rgb(0, 170, 247);
}
.btn-general:hover{
  color: #fff;
  background-color: rgb(65, 65, 65);
  text-decoration: none;
  border: 0px;
}
#logo{
  margin: 0 auto;
  width: 10vw;
  text-align: center;
}

#login-form {
  position:relative;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding:2vw;
  padding-top: 4vw;
  padding-bottom: 3vw;
  background-color: rgb(0, 170, 247);
  border-radius: 0px;
  width: 20vw;
  clip-path: polygon(10% 0%, 100% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 100%, 0% 10%);
  animation: background-form 5s infinite ;
}

#login-form div {
  margin-bottom: 20px;
  text-align: center;
}

#login-form label {
  font-size: 18px;
  margin-top: 5px;
  margin-left: 15px;
  position: absolute;
  color: rgb(0, 170, 247);
}

#login-form input {
  padding: 7px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  width: 80%;
}

#login-form button {
  background-color: rgb(0, 0, 0);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px;
  font-size: 15px;
  cursor: pointer;
  width: 150px;
  text-align: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

#login-form button:hover {
  background-color: #656565;
}

#error {
  color: red;
  align-self: center;
}


@keyframes background-form {
  0% {background-color: rgb(0, 170, 247);
  }

 70% {
    background-color: rgb(0, 180, 200);
  }

  100% {
    background-color: rgb(0, 170, 247);
  }
}

/*nav*/
#sidebar {
  position: fixed;
  top: 0;
  left: -200px; /* Empieza oculto */
  width: 200px;
  height: 100%;
  background-color: #1a1a1a;
  transition: all 0.3s ease;
  z-index: 99999999999;
}

#sidebar.desplegado {
  left: 0; /* Muestra el menú */
}

#sidebar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#sidebar li {
  padding: 10px;
  border-bottom: 1px solid #3d3d3d;
}

#sidebar li:last-child {
  border-bottom: none;
}

#sidebar a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}
#sidebar a:hover {
  color: #767676;
}
#desplegar {
  position: absolute;
  top: 10px;
  right: -50px;
  width: 50px;
  height: 50px;
  background-color: #1a1a1a;
  border: none;
  border-radius: 0 4px 4px 0;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#desplegar::after {
  content: "\2630";
  color: #fff;
  font-size: 24px;
  line-height: 50px;
  text-align: center;
}

#bienvenida {
  text-align: center;
  display: block;
}


.container-botones {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: grid;
  grid-template-columns: auto auto auto  auto;
  gap: 20px;
}
.container-botones a{
  width: 300px;
}
.btn-principal {
  text-decoration: none;
  text-align: center;
  background-color: rgb(0, 170, 247);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 150px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  padding: 25px;
}

.btn-principal:hover {
background-color: #000000;
transform: translateY(-5px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
color: rgb(0, 255, 255);;
}
.btn-principal i{
  font-size: 40px;
line-height: 70px;}
/* FIN DE CONTENEDOR DE BOTONES*/

#usuarios{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 500px;
  gap: 30px;
}
#usuario, #password{
  padding: 7px 45px!important;
}

.formularios{
  width: 50%;
}
.caret{
  display: none!important;
}
.multiselect{
  min-width: 300px;
  text-align: left;
}
#breadcrumb a:hover{
  border: 0px!important;
  text-decoration: none!important;
}

#fecha-hora{
  max-width: 200px;
  border: 1px solid #b5b5b5;
  border-radius:5px;
  padding: 0px 5px;
  height: 30px;
}

#miTabla .ocupado, #miTabla .disponible{
  display: flex;
  justify-content: center;
  align-content: center;
  color: white;
  border-radius: 10px;
}

#miTabla .disponible {
  background-color: green;
}

#miTabla .ocupado {
  background-color: red;
}

.no-mostrar {
  display: none;
}

.overlay-visible {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Para asegurarse de que esté por encima de otros elementos */
}

.recuadro-visible {
  display: block;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.boton-oscilante {
  animation: oscilar 1.5s ease-in-out infinite;
}

@keyframes oscilar {
  0% {
    background-color:  rgb(0, 170, 247); /* Color inicial */
  }
  50% {
    background-color: rgb(0, 16, 247); /* Color intermedio */
  }
  100% {
    background-color: rgb(0, 170, 247); /* Color final */
  }
}

#eliminarUsuarios{
  margin-top: 3%;
}

#agregar{
  margin-top: 5%;
}

/* RESPONSIVE
 Estilos para pantallas pequeñas */

 @media (max-width: 768px) {
  #logo{
    text-align: center;
    width:25vh;
  }
  #login-form {
    width: 80%;
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
  }
  .container-botones {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    display: block;
    grid-template-columns:   1 ;
    gap:0px;
    }

  .container-botones a{
    width:  80%;
    height: 150px;
  }
  .btn-principal {
    width: 80%;
    height: 180px;
    padding: 5px;
    margin-top: 20px;
  }

  footer{
    width: 100%;
    height: 100px;
  }
  header button{
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
  }
  .formularios{
    width: 100%;
  }
  #fecha-hora{
    width: 55%;
    border: 1px solid #b5b5b5;
    border-radius:5px;
    padding: 0px 5px;
    height: 30px;
    position: relative;
    top:10px ;
  }
  .btn-general, .btn-general-b{
    padding: 10px 20px;
  }
    
  #miTabla .ocupado, #miTabla .disponible{
    display: flex;
    align-content: center;
    align-items: center;
    color: white;
    border-radius: 10px;
  }

  #miTabla .disponible {
    background-color: green;
  }

  #miTabla .ocupado {
    background-color: red;
  }

  .no-mostrar {
    display: none;
  }

  .overlay-visible {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Para asegurarse de que esté por encima de otros elementos */
  }

  .recuadro-visible {
    display: block;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
  }

  table {
    font-size: 60%;
  }
}